<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入 -->
    <link rel="stylesheet" href="style.css" media="all and (min-width:400px)">
    <style>
        /* 媒体特性 */
        /* 样式切换：超小 max-width=768px  min-width=992 1200 */
        @media only screen and(width:500px)and(max-width:700px) {
            body{
                background-color: aqua;
            }
        }
        /* 媒体类型 */
        @media all{/* 所有 */
            body{
                background-color: aquamarine;
            }
        }
        @media print{/* 打印设备 */

        }
        @media screen {/*屏幕设备 */
            
        }
        @media speech{/* 屏幕阅读器 */

        }
        @media all and (orientation:portrait) {/* 纵屏 */
            
        }
        @media all and (orientation:landscape) {/* 横屏 */
            
        }
    </style>
</head>
<body>
    
</body>
</html>